package com.example.store;

public interface MessageStore {

    /***
     *
     * 存储消息
     * @param topic
     * @param message
     * @throws Exception
     */
    public void put(String topic , String message) throws Exception;

    /***
     *
     * 销毁消息
     * @param topic
     * @param message
     * @throws Exception
     */
    public void get(String topic , String message) throws Exception;
}
